﻿<link href="@Url.Content("~/content/activitie_detail.css")" rel="stylesheet" type="text/css"/>
<link href="@Url.Content("~/content/table_btn.css")" rel="stylesheet" type="text/css"/>

<!--[if lt IE 8]>
    <link href="@Url.Content("~/content/activitie_create.css")" rel="stylesheet" type="text/css"/>
<![endif]-->

<noscript>
    <link href="@Url.Content("~/content/activitie_create.css")" rel="stylesheet" type="text/css"/>
    <link href="@Url.Content("~/content/activitie_noscript.css")" rel="stylesheet" type="text/css"/>
</noscript>

@model PessModel.Attachment

@{
    ViewBag.Title = "删除附件";
}

<h2>删除附件</h2>
<div id="operate">
   @Html.ActionLink("取消", "Details", new {id=Model.ArchiveID },null)
</div>

<fieldset class="show">
    <legend></legend>

    <div class="display-label">
         @*@Html.DisplayNameFor(model => model.ArchiveID)*@附件ID
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ArchiveID)
    </div>

    <div class="display-label">
         @*@Html.DisplayNameFor(model => model.Title)*@文件名
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Title)
    </div>

    <div class="display-label">
         @*@Html.DisplayNameFor(model => model.FilePath)*@文件路径
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.FilePath)
    </div>

    <div class="display-label">
         @*@Html.DisplayNameFor(model => model.TimeStamp)*@上传日期
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.TimeStamp)
    </div>

    <div class="display-label">
         @*@Html.DisplayNameFor(model => model.FileSize)*@文件大小
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.FileSize)
    </div>
</fieldset>
@using (Html.BeginForm("DeleteAttachment","Archive")) {
    @Html.AntiForgeryToken()
    <h3>如果确定删除该附件，请点击&#8195;</h3>
     <div class="del_btn">&#8195;<input type="submit" value="删除" /></div>
        @Html.Hidden("ArchiveID",Model.ArchiveID)
        @Html.Hidden("Title",Model.Title)
}
